package ast;

/**
 * class <code>IntNumNode</code>
 * Leaf node that stores an integer number
 */
public class IntNumNode extends ExprNode {
    public int value;

    public IntNumNode(int i) {
	this.left=null;
	this.right=null;
	value = i;
    }

    public IntNumNode() {
        this.left=null;
        this.right=null;
    }
    
    public Object accept(Visitor v) {
	return v.visit(this);
    }

}